package com.ynet.middleground.riskmanage.bean;


import javax.validation.constraints.NotBlank;

import com.ynet.core.common.BaseReqObjPager;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author songyf
 * @description 查询裁判文书
 * @date 2020-08-11 09:22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "查询裁判文书", description = "查询裁判文书")
public class JudgmentDocQueryReqPager extends BaseReqObjPager{

	private static final long serialVersionUID = 8399589925059475531L;
	
	@ApiModelProperty(value = "搜索关键字（公司名、注册号、统一社会信用代码）", notes = "搜索关键字（公司名、注册号、统一社会信用代码）", required = true)
	@NotBlank(message = "查询关键字不可为空")
    private String searchKey;
	
	@ApiModelProperty(value = "发布年份，格式为yyyy，如2010、2020", notes = "发布年份，格式为yyyy，如2010、2020")
    private String pubYear;

	@ApiModelProperty(value = "案件身份（1：被告；2：原告）", notes = "案件身份（1：被告；2：原告）")
	private String caseIdentity;
}
